package com.fyk.dao;

import com.fyk.entity.Employee;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 范宇坤
 * @date: 2021/8/4 14:26
 */
@Repository
public interface EmpDao {
    List<Employee> queryAllEmp();

    void addEmp(Employee employee);

    void deleteEmpByName(String empNum);

    Employee queryEmpByNum(String empNum);
}
